add scope.apply to callback of firebase login