Add Edit and Delete function to posts