Increasing the security by using mongoose encryption and decryption. So let's increase the security in level-2 Authentication. And level 2 authentication involves the use of encryption. Mongoose encryption and decryption.
When the user click on login then mongoose encrypt will successful in decrypting the password to be able to compare at this stage.
NOTE: So if somebody hack into your website, then they probably will get access .
For more about how to provide security to the data, Read Authentication level-3 repository.