add required login for getAllCoursesUser