Added error checking for user input for email address