cleanup error messages at login