refactored paginated_search

no longer takes request as param. also each page number the user
navigates to is now logged