Hi Olaf
This is an amazing script. I noticed that if you are already logged in and type the login page at the url address bar of the explorer the page loads normally.
I think there is not any meaning to this since the user is already logged in.
Instead it should be much more better to redirect the user to main page automatically.
Thank You.