loadPage function can now take an additional parameter to also update the footer content