Pups and adolescent dogs often tend to squat and empty when greeting people. It occurs more often when a person leans over them or talks and acts very excitedly when greeting the puppy. This is known as "submissive urination" and is something a puppy outgrows as he matures. The worst thing you can do if your pup is having this problem, is to reprimand them. Instead, make greetings low key and even have initial introductions with visitors, occur out of doors.
Additionally, dogs will develop their own signals to alert you to they need to go out. Some stand at the door (not very effective unless you happen to always be watching them) or some come to you and let out a bark or two (not the best idea, unless you to train attention barking) and some just sniff around and circle (again, easily missed if you aren’t paying attention). Instead, it is a great idea to train your dog to ring a bell to signal when she needs to go out. The audible signal is discernable and heard even if you are in another room and not paying attention to your dog!
A word on using pads indoors. If your goal is to eventually get your dog to empty reliably outside ONLY, then do yourself a favor and skip training on the pads. You are giving yourself double the work, since at some point you will need to wean the pup off them and if they develop a surface preference for emptying on paper, you will have a hard time getting them to go on grass or gravel outside.
Also, please be aware that moving to a new home, often results in house training regressions. Be vigilant and give your dog extra opportunities to eliminate in your designated spot and your dog will easily adjust. The same applies to newly adopted, rescue dogs.
Finally, please be patient. Some dogs are easier than others to house train and it isn’t uncommon to a dog to be 6 months or older and still have the occasional accident. Kindness and consistency are the tools you need to use to be successful.