pass in config options for $http post call for submitLogin