add check if email was entered