You allowed some random man, not related to your child in ANY way to discipline her in WHAT way?

Your husband is a whole hell of a lot different than the child's FATHER. If you can't see the difference, I'm scared for what's going to happen to you in court.