Added `loggedInUser` template variable

If there is a user logged in, this is set to the username of that user, otherwise it is not set.

This change changes the interface of the `filledPageTemplate` function to add a `Maybe User` parameter.