Validated the name and email address of the users