add validations to user model