Session handling now works.