Checking for prompting password