Separated course-fetching code from registration page
revert