added savePassword