added functionality for commenting on questions and answers