Updating the User model to hash password before saving them to the database