added basic implementation of new model data validation
completed model validation for user model