auto address

added a way to automatically get the captive portal address