title: Need Help in Router Guard Navigation in Vuejs
body: <p>I have finished a Webapp, But I am facing problem while applying router guards, actually i want global rediretion like... </p>
  
  <p>using firebase google signin for user authentication and Vuex Store storing User logged in Status as user.loggedin true or false</p>
  
  <p>if (user is loggedin)
  then route to any page except {path: "login"}</p>
  
  <p>if (user is notloggedin)
  then route to {path: "login"} from any page.</p>
  
  <p>Homepage is set to "/"</p>