add addcomment method which renders only the new comment