removed wpa_supplicant (unnecessary)
moved input prompts to functions