implemented the Lecturer + the Student functions