Modified database for deactivating accounts