How to manage collaboration in the Collaborative Logic Framework in a web-based adaptive learning environment