When changin course from studen coursepage, update user's group