try at qrmanager and small fix for login