refactor reviews controller