put main view on index page