Using population dynamics to uncover key barriers and signals involved in enteric infection