implements simplified login error messages