implements delegate for getting data from restService:didFinishLoading