Use readPassowrd instead of readLine