corrected the way I switched views with href instead of .path()