added the functionality for deleting the leads