Refactored to display coursems for a user with a partial
This is being done so that we can display 'My courses' as well as other user's information