Adds a flag to notify app on login error