add login failed exception handle to base class