adding index action to pages controller
styling the show and list views for the pages controller and linking them together