Let's replace our simple Author model implementation with a full User model. This means we will need to add support for handling and authenticating the password property. For this, we will need to install and save as a dependency in our application's package.json file the bcrypt encryption library to perform salting and hashing on our saved passwords:
npm install bcrypt --save