Add pagination to user events API