search with pagination added