Save current path info with each route
E.g. For the route "main"
routes:{
   user: {
        profile: {
               main: {..}
        }
   }
}
the  "page"  is "user.profile.main"