added validation of presence test for username and email