minor documentation changes
better session state handling

properly set monad session state from response session id; check if
response session id matches local session id