add logging when provider starts
add a Sync table to avoid syncing multiple times
fix a bunch of test failures and warnings