Override of delete in task_manager

When a user deletes a task, it will now create a log into the db.