move room socket to server.js