adding header and footer to all pages