added pagination to handler.find method