session handling, docs update