If your pumpkin bread is soggy in the middle, it is most probably because you underbaked the bread. This can be easily fixed by baking the bread for an additional 10 or so minutes.