Add validations and respective tests to user