added header and footer to all pages