added functionality to create responses to discussions