added validations to user model
updated user validations and added bcrypt to gemfile