adding current url in so we can get the final url