created user model and validations