some android code for loggin into a captive portal