Add pagination to logged activities