Added pagination when getting entries, use LWP::UserAgent instead of curl for requests