login error reporting added