Changed the client to work with nodejs server