added ability to create a new post and delete posts