adding support for paging through user history