$scope.currentUser outside loginUser fct