fixed login error format