migreate qrcode verify funciton to standalone folder