add layout and index page