added delete functionality for IPs