set up the onDisconnect with the promise to remove users after session ends