Update template for login/logout