code to support mobile clients reading QRcodes for queueing and beyond