sending data to node server