add validation for user model