added input validation for ssid
fixed changes related to page reloads not going to confirmation pages