change account logic