calls api for name/barcode auth.