add functions for barcode results and user info