Added /posts/delete function