modify some logs
modify hub: use lock for (un)register;  add ref on msgchan; move 'onlineUsers' map from clientConn to msgChan.