add delete_account logic, db structure also changed.