Added functionality for deleting entries