updated commentController and repo methods