add moodle/LMS access logic