Created user objects and added validations