created users and validations to user model