removed extra session-based functions from learning_material model