modify the node server application to use connect