Added more logging to API calls