Re-add the router navigate code