add login/logout links to global layout template