About the rent, you still need to pay for whoever you sign the lease agreement.
The fact that you are living in the home without ownership, brings with it the responsibility of paying rent. This should be about identifying who is due the monthly rent.
To just not pay could present future problems for you.
Who did you hear from that the house was in foreclosure? Unless you received notification from a bank, a homeowner struggling with his payments or hearsay about looming foreclosure does not necessarily get you out of your lease agreement with the owner.
Consider saving the monthly rental amount until, you can verify, who is the current owner of the property.