adding footer and index page