title: ASP MVC 5 Logged in User can still access Login and Registration Pages?
body: <p>I have an ASP MVC 5 application and I've noticed that logged in user can still access the registration and login pages. I've also noticed that when a logged in user tries to access a controller action to which they are not authorized, they are redirected to the login page. This is confusing because the user is already logged in.</p>
  
  <p>How do I fix this so that unauthorised redirects to some other 401 error page or view.</p>