controller + qr generation added