UserSockets.prototype = {
    addSocket: function (uid, socket) {
        if (!this.sockets[uid]) {
            this.sockets[uid] = new UserSocket(uid);
        }