Refactoring leads_controller#index