adding index and sidebar views.