created Post factory
created PagesController#home