t3: Added search and pagination