show error detail when login failed