Got socket.io working again and fixed broken controller