refactor comments on profiles pages