Using a while loop to test if user entry matches a predefined password