Added QR scanner. Login settings are now loaded from local json file or read from QR code.