adding dinamic host to generate the url