login error correction