Thanks chrome, I will update the code and let you know how it goes.

Also, thanks for the tip on the session ID—I wish it wasn't stored in the URI