adding routing option in the url of search