implemented close account