login from qr code and all of its edge cases tested and functional