It all comes down to training and walking your dogs IMO.
Your dogs see your husband as pack leader, when he is not around you have little control, you need to establish yourself as pack leader as well and any other family members.
If they pee and poo when you are out it's generally because they haven't been walked and exercised before hand.
having two young dogs together can be testing at the best of times, they get each other worked up, especially terriers, tire them out with walking and exercise and walking and train them or they will dominate you!