If your dog is going after people it means your door is open. So shut the door. If you feel this behaviour is unpleasant, try working on it right now. Make sure when someone comes in, your dog is sitting in the other corner. You can teach the dog a place command. Don't allow your dog to run after people.