added login error override

Closing Issue #2