add pagination function using kaminari and kaminari-boosting