adding footer, header, and index