search and index actions plus pagination