rental question I have been at apartment 1 and half months.

rental question
I have been at apartment 1 and half months. landlord said I have to be out by jun 1st. I moved in on a month to month basis. with the idea that I would be there a while. Financially I am not able to move next month. Hes put me up against the wall I dont know how to handle this? Does he have the right to ask me to leave. and how much notice is he required to give me?

illegal apartment with a twist I was recently informed by the local zoning…

illegal apartment with a twist
I was recently informed by the local zoning department that the basement apartment that I have been renting on a month to month for the past 7 months is illegal. I believe the landlord would owe me 6months rent in relocation assistance, however the very same day that I was informed, a representative for the bank informed me that the house had been taken back in forclosure. Apparently the house had been in pre-forclosure prior to me renting, and that there had not been one mortgage payment since. Do I have recourse? Since the bank now owns the property, does she have right to come back in? Can I hold her personal property in leau of payment? Am I out the money because I havent made a payment to the bank on the illegal apartment? etc etc etc