How to work ?
Sometimes you may want to make certain routes, such as /register, /login, etc., only accessible to users who are not authenticated. You can use the GuestGuard
component to direct users to a specific route/page (/dashboard) by using it.