Removed $scope usage from login-controller