Fixes #202, Logout from index

If the user is already logged in and finds himself/herself on index.psp, this will automatically log him/her out.  The user should never get to a page that asks him/her to login when already logged in.