As Michael said work in progress.
reads the user as logged in from the session cookie and the session cookie caused a half logged in situation. I was able to do a mini test on that install using the code above. We may go about killing or blocking the session in a whole different way we shall see. This is in the very early stages.