Guess what, it worked! Awesome!
I just have a few follow-up questions:
1) It listed all the courses that are enrolled by User A, however, they are not categorised. All the courses from different categories are sorted in just one page. Is it possible to categorise them?
2) Though User A can only see his enrolled courses, there is a button at the bottom of the page that says All Courses which allows the said user to still view all courses. How do we remove that button?
3) User B, who is not enrolled to any course, can see all courses even though he/she was not given a role under admin>users>permissions>assign system roles. Is this normal?