Added Edit/Delete function to posts