changes fuction onUserDisconnected