added socket.io functionality, need to install socket.io