page load and footer