Login using the network.
Merge pull request #8 from zhongwen/hotfixes

Login using the network.