Implemented needed methods in CourseController to enroll, get available courses etc. and also in the DAOs.