I need to redirect an authenticated user to the login page but only when the site is accessed through a browser. For example, I have the following actions:
[HttpG