Yes, a landlord can use the security deposit to cover unpaid rent, for excessive damage and repairs on the property.