I'm using https://www.c-sharpcorner.com/UploadFile/asmabegam/Asp-Net-mvc-5-security-and-creating-user-role/ demo to fully understand the ASP.Net Identity its a great demo just one aspect that I can't seem to pin point that I hope someone here can help me find.
In this code when a user is authenticated and leaves (without Logging out of the website) then comes back for some reason he's still "authenticated" and gets the "hello" on the Home index page. I can't figure out where in the code to redirect to the required page or to "log him off" ?
Would appreciate help
Regards