modified how headers are added to the request, ensured create_node works