updated with UI changes and pagination to search category