I have method which checking DB if user is applied to course if he has already applied, then the button is disabled
Method which checking isStudentApplied to Course