routing working; need to set window.location.href instead of a href