Add validations to User model. Change Applicatin class