Refactoring home#index