New user rest APIs

Fixed. Moved the  get_courses_where_user_is_enrolled to the helper connector php.