Refactor view accounts#index