moved and extended factory
moved factory back
removed obsolete code
focus passphrase field after clicking show password