changed user pattern to hompage pattern