1: Include User ID in log messages if part of an API request
Fix dbstats() method of client API
1: Log the sync request with the User ID as well