After signing in to the website, the user receives a message confirming a successful login. However, the site does not automatically re-render to reflect the signed-in status. As a result, the header still displays "Guest" instead of the user's name until the page is manually refreshed. In contrast, the logout process works as expected, and the username in the header automatically changes to "Guest" upon logout.
After signing in to the website, the user receives a message confirming a successful login. However, the site does not automatically re-render to reflect the signed-in status. As a result, the header still displays "Guest" instead of the user's name until the page is manually refreshed. In contrast, the logout process works as expected, and the username in the header automatically changes to "Guest" upon logout.