built a socket service to manage socket room interactions