There should be a handler on successful `logout` same as `(login)`, so the user can trigger some custom logic.