added header and footer info to pages