Detailed Description: When a user is not logged in and attempts to access a restricted route, they should be redirected to the log in page. However, this is not currently happening.
Steps to Reproduce:
Open the application.
Access a restricted route without being logged in.
The user should be redirected to the log in page, but they remain on the current page.
Possible Solutions: In the route authorization logic, update the code to redirect the user to the log in page when they are not logged in and attempting to access a restricted route.
Detailed Description: When a user is not logged in and attempts to access a restricted route, they should be redirected to the log in page. However, this is not currently happening.
Steps to Reproduce:
Possible Solutions: In the route authorization logic, update the code to redirect the user to the log in page when they are not logged in and attempting to access a restricted route.