make better user prompt display

now if connected thru SSH will display either hostname or ip address.