    async def get(self):
        """Log the user out, call the custom action, forward the user
        to the logout page
        """
        await self.default_handle_logout()
        await self.handle_logout()
        # clear jupyterhub user before rendering logout page
        # ensures the login button is shown instead of logout
        self._jupyterhub_user = None
        await self.render_logout_page()
Log the user out, call the custom action, forward the user
to the logout page
jupyterhub/handlers/login.py