generated pages controller
create and migrate db
updated routes to pages#index