added pages controller and basic homepage