Added adding comment frontend functionality