updating node api setup
updated to pull sample data from server