Fix assignment in UserModel to use SetValue.