Added one function ot api. Working on CoursesRegistered