read the password from the console