added QR scanning & generating functionality