improve host deletion and expose to manage UI