If the property that you reside in is unlicensed to be used as a rental then you cannot remain in it even if you are paying rent or not. Under the laws of most municipalities in this country, if the unit you occupy is not licensed to be rented, you are not obligated to pay rent for it. I suggest that you vacate the unit you are occupying sooner rather than later. I suggest that you consult further with a landlord tenant attorney about your matter as well.