add pagination and search for entire APP