Created user resource, added validations to user model