removed two added functions that are no longer necessary, adjust getNextLearningMaterialNumber in session model