Created posts controller via CRUD