correct implementation of socket.ios rooms. Now only dashboard pages triggers the sending of dashboard data