add the QR code scan feature