Removed not needed socket.io code