Removed beforeunload to support other browsers. Hubs now use connectionIds to keep track of users