added pagination to the find_events method in the ESMs