add handleLogoutRequests