corrected check for anonymous user in the visit question task