route change listener using login service