New base template is now session-aware.