Added QR scanning functionality