change the url routing on client side