edited login/logout templates