Correct check for user email in root template