Added validations with bcrypt