Use get instead of post for initial check to see if user is logged in.