completed todo to make validation for user model for state