added load api call to load occurrences from DB