$auth.submitLogin(user)
        .then(

          // Success.
          angular.bind(this, function(response) {