Add socket.io and add code that sends messages to the server via web socket when keys are pressed in the client.
Change socket model so server must authenticate every move and send the client confirmation before the view updates. This is pretty laggy. 20-30ms and definitely noticable.