Added dynamic header and footer for each page