Added functionality to delete adverts