Modified the session lib so that it should work now.