check for unique username and email