Checks if the user is anonymous. Redirects home if they are not.
The locals object of RequestEvent.
void
Checks if the user is anonymous. Redirects home if they are not.