move IP deleting to serverside