Added code to ask for password.