Logging $scope.user