adding some logging to oauth call