Refactor user page controller using continuation