changed simple routing to redirecting when loading app with no hash