added bcrypt save user function in user model