widget added (not yet working), store hostname after connect