Please help

I didn't know where to put this..
I feel so broken and defeated today. It's the week before my period and I'm always super emotional, but this week has just gotten the best of me. I have a 3 year old step son and I absolutely love him to death, but I have no kids of my own. His mom lives in Florida and we made an agreement through the courts that he would spend summers with us. It's his first summer here and I'm getting the full experience of what it's like to be a mom. Today I just can't handle it. He doesn't listen to me, he tells me no, he does things on purpose that I have told him not to do and I get no support from my husband. Today my husband said, "he thinks you're a joke." My husband is constantly making me seem like the bad guy. Whatever punishment I give his son, he undoes. Today I took his Xbox, and  when his dad gets home, I'm sure he'll get it back. I am a failure as a mother. I don't know how to make him listen to me. Please help me figure out a way to talk to him that will make him understand he has to listen to what I say..