re-arrange url routing on client side