validates user name and user email