improve logon error messages