bug 893: Added email check to includes/temp_functions.php and exchanged the function in includes/account.php