added user name and email validations