validate user name and email