added room socket.io functionality