Added list_courses method to user controller