more replication work
sync and auth work ok