call `navigator.id.logout()` on logout