My question involves landlord-tenant law in the State of: MA
Me and my roommates signed a 12 month lease that goes to the end of August. My roommates renewed the lease for another year, but I am moving out. When we signed the lease, we paid for the first month, last month, and security deposit. My question is about how to deal with the last month of rent and security deposit.
Since some of the tenants are staying and renewing the lease, the landlord is considering the last month we paid for to be next August, and keeping the security deposit until the apartment is vacated. So now my roommates are claiming that I need to pay again for this coming August and that I won't get my security deposit back until they move out. This is where I have an issue - I already paid for this coming August - I should not have to pay double just because they are staying. I also expect my security deposit back at the end of my lease - not theirs.
So, my question is what should actually happen here, and what I can do to protect myself? I am not going to pay for this coming August - I already paid for it. Will I potentially be in any legal trouble if my roommates refuse to cover my portion (since the landlord is expecting full rent)? Additionally, how can I get my security deposit back? My roommates are refusing to pay me for my security deposit until they move out, and the landlord doesn't believe they need to give it back to me since my roommates are staying. What do I do, and what should my roommates and landlord be doing?
It seems pretty simple to me - the roommates need to pay for the full month this August, as well as pay me for my portion of the security deposit. But since they are refusing to do this, I don't know what is going to happen.

