dog problems

I need help with problems of dog?
So I have a male dog I've been having problems. He does pretty well when out of his kennel, but still seems to pee in the position of the bed and poos in the room. Now, when I have him in the kennel, we have had complaints he barks a lot. What is the best thing to do in this situation.
The human society has the good literature in the training of your dog. Here is a link for the training of the house: Here http://www.hsus.org/pets/pet_care/our_pets_for_life_program/dog_behavior_tip_sheets/housetraining.html is a link to crate training: http://www.hsus.org/pets/pet_care/our_pets_for_life_program/dog_behavior_tip_sheets/crate_training. html Sounds like you and your dog benefit from learning these skills so much! Good luck!
The Format – Dog Problems (LIVE AT&T BLUE ROOM) [Pt 2]