templates: Make logged in indicator a link to appropriate actions (login/logout)