added error handling to email signup