added qr hash to send to client-side js