finished function validateEmailAddress, but have not cleaned and tested.