added header and footer rules, added page break after table of contents