updated index view with partials and checkbox functionality