update index view of home controller to use viewmodel and add links for paging