Why the puppy only listens to your daughter is not really a matter of the puppy not seeing you as "boss in the house", but because she's figured out where the really good snacks come from. Since a three year old human really isn't old enough to be a 100% reliable partner in training a new puppy or dog, your best bet is to utilize management techniques to keep this situation from happening.
The puppy should be fed (at this age, probably three times per day) on a regular schedule & in a specific place (her crate or puppy pen?) well away from the humans' eating area. When your daughter is at the table eating, utilize some sort of barrier (baby gate, etc) that prohibits the pup from getting anywhere near the table. It could be really helpful, especially at first, to provide the pup with a nice, long lasting chew (bully stick, stuffed Kong, or such) in her place of confinement so she starts to understand that being separated from the table & NOT getting food from your daughter is equally enjoyable.
The puppy should be fed (at this age, probably three times per day) on a regular schedule & in a specific place (her crate or puppy pen?) well away from the humans' eating area. When your daughter is at the table eating, utilize some sort of barrier (baby gate, etc) that prohibits the pup from getting anywhere near the table. It could be really helpful, especially at first, to provide the pup with a nice, long lasting chew (bully stick, stuffed Kong, or such) in her place of confinement so she starts to understand that being separated from the table & NOT getting food from your daughter is equally enjoyable.