refine profile page and cache profile