password hash with password-hash method added in the model/user.js file