verifying that both user name and email are entered