added real-time notification of server changes via socket.io