create and delete posts in-memory