updated controllers for managing the deletion of posts and projects