Refactored search and display results with Kaminari