change up_host dependence on user protocal