created mapping from rooms to sockets