+ fix bug: if wifi is suddently not connect after clicking the login button, returnMessage will be null, so if returnMessage is null, return immediately
+ auto detect network