cleaned up documents#index view