add logging and fix user list sync by using connection events instead of signals