add hostname and username userprefs