login template: update
logout template: update