Add validations for user model.