Introduction
Login and logout let users enter and leave your website safely. This keeps their information private and controls who can see certain pages.
When you want users to access their personal accounts on your website.
When you need to protect parts of your site from visitors who are not signed in.
When you want to keep track of who is using your site and what they do.
When you want to let users end their session to keep their account safe.