From what i've watched and read when they bark put them in the sit position and don't answer the door until they're calm and quiet. Once you've answered the door you can phrase but only if they've stayed quiet.
It's going to take some work from you and probably your vistors but i'm sure it'll be worth it.
You should also get some ideas from the net. Lots of people share best practise.
Good luck and all the best x