added the tail library and socket.io