Added front-end functionality to get data from node