Fix Frontend Courses Controller