As a user (Student or Instructor), I want to ensure that the website requires authentication for access to restricted pages, so that only logged-in users can access their personal dashboards and other protected content. If someone tries to access these pages by copying the URL or in a different window without logging in, they should be redirected to the login page. The website should allow the user to navigate freely using the back and forward buttons within the session, but prevent direct URL access from an unauthenticated source.
As a user (Student or Instructor), I want to ensure that the website requires authentication for access to restricted pages, so that only logged-in users can access their personal dashboards and other protected content. If someone tries to access these pages by copying the URL or in a different window without logging in, they should be redirected to the login page. The website should allow the user to navigate freely using the back and forward buttons within the session, but prevent direct URL access from an unauthenticated source.