Adding logs to accounts API calls