changes for password dialogue