added layout and index page