Fixing Issue #226

I can make it an optional feature dictated by settings if this will break existing code.
adding redirection if a user is already logged in for Issue #226