added functionality to the view to allow the questions and answers to be displayed after the user selects a course