Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).
change many: 1. Instruction files/ topics save point in authoring 2. Only topic creator editable topic 3. Cascade delete children topics etc...A stable version in Learner and Author function