Added sockets using socket.io