Added a number of functions to load data within html to render pages from backend