getting all activities in moodle course