added input validation for mesh setup
fixed hostname loop
refactored validator function
added default channel limits and fixed AP_PASSWORD validation