move prompt_for_password to the base Command class