Moved user sync to model