making the session creation work
debugging