Template handler: Add session control to choose public or logged in master template