Added 'provider' property to user model.