Update to session management chapter

I have uploaded this, not because it is finished but so that others can modify anything they think is wrong/missing etc.