added socket.io to push event notifications to clients