delete and get all leases implemented in controller