output changed for invalid credentials