Updated the main controller to get assessments using enrol api