Currently, when you click on Logout, you currently get redirected to Login page. But it has not truly logged out. You can still go to localhost:8000/dashboard page, it is accessible. This should not be possible.
When you click on Sign-in page, login page should be showed if user is logged out. If user is already logged in, he should be redirected to the dashboard page.
Following are some of the issues:
localhost:8000/dashboard
page, it is accessible. This should not be possible.