Add pagination for search and author works results
This merge request implements pagination for both the main search results and the author works results pages.
Changes made:
Added backend logic to handle paginated queries.
Updated the templates to include pagination controls (Previous, Next, and page numbers).
Ensured that pagination updates dynamically as users navigate between pages.
Maintained UI consistency with the existing Paulina design style.
Benefits:
Improves user experience when dealing with long lists of results.
Reduces page load time and improves accessibility.
Makes navigation cleaner and more efficient.

