Course view bug fixed

Template for course listing fixed. Now shows properly the courses