i have this router guard which just open the sign in component if the user is not logged in how can i allow also the user to go to create account if he is not logged in . thanks in advance
import { LocalStorage } from "quasar";
export default ({ router }) => {
router.beforeEach((to, from, next) => {
let loggedIn = LocalStorage.getItem("loggedIn");
if (!loggedIn && to.path !== "/signin") {
next("/signin");
} else {
next();
}
}); };