Add Socket.io and implement new form