edit post and delete posts