Moved Create_qrcode to application controller
fixed a few bugs in create_qrcode