refactor comments_controller