added getLatest function to return the latest Photoset available