Corrected wrong method to include the page header and footer