Refactored joining into hub and overrode OnDisconnected in hub