Add password processing and saving
Fix password processing and saving, still incomplete