loading qr in startup