remove earlier template tag
Validate form and user before generating qrcode