addding node server code