saves user password and ssh-key