get url out of router