created working associations between students and lessons with a join table