add index page and make the layout