refreshes page when admin deletes post