up to parnter exercise 2
adds addComment function to ShowCommentsView