Moved anon user checks to execute function
Minor change