Added delete post function