Updated delete_user trigger to include missing table