fixed format of error msg on login