Created a user model
added validations to user