Made it check for valid email