If by counseling, you mean discipline, yes, it is allowed. I will not try to tell you that it was good management, but it did not violate any laws. There is very little right to privacy in the workplace and no laws require that disciplinary issues be kept confidential.