added create and edit function to hosts giu