implement get/post/put/delete on the node side using session to store the data