set_user_host method