fixed making posts and deleting posts
now able to delete posts