Description:
When users log in to the website, it would greatly improve the user experience if the navigation items dynamically reflect their authentication status. Currently, when users are logged out, the navigation menu displays "Login" and "Signup" options. However, after logging in, these options should be updated to "Profile" and "Logout" to provide consistency and enable easy access to relevant actions.
Checklist:
[ ] Research an EJS way of conditionally hiding an HTML element depending on if a user is logged in or not
Description: When users log in to the website, it would greatly improve the user experience if the navigation items dynamically reflect their authentication status. Currently, when users are logged out, the navigation menu displays "Login" and "Signup" options. However, after logging in, these options should be updated to "Profile" and "Logout" to provide consistency and enable easy access to relevant actions.
Checklist: