Added code for stored passwords .... this eases migrating to the new version