craet a pages controller and rote to pages home