scanner redirects with the information it got from the qr code scanner