changed the barcode scan function to a promise function
app now handling scanning abitraly barcode by showing a no results page