L.T.
From time to time, my kids will say, "You don't love me," then they put a smile on their face and giggle because they know I do. That has led to coversations where I tell them I always love them, no matter what. Even when I am mad and don't like their behavior, I love them.
When I discipline my kids (usually with timeouts or removing privileges) I give them a hug and tell them I love them. As appropriate, I explain my jobs as a mom - to teach them how to behave, keep them safe, teach them how to make good decisions, etc. I also explain thre rules and consequences often so they know what to expect. After discpline has been handed out, we talk about what better decisions could have been made, then we do the hugs, kisses, I love you's. When they are behaving I try to praise them or show them affection - a quick hug, a smile, etc.
My son (my oldest) will be 5 in a few weeks and rather than saying that "everyone hates him" when he is disciplined, he says, "I want knew parents who don't grumble at me." I guess this is an age where they are sensitive to criticism, displine, etc and increasingly aware of socialization. Good luck!