bcrypt methods added to user model