Removed debug printing. Fixed bug where QR code could be used multiple times to log in.