fix bcrypt in user model