add `url` method to set/get current url