refactor ppl page