edited registries
changed PW-handling