added pages controller
set root to pages#index