Improved error handling in loginAsync
Merge pull request #13 from updatezen/master

Improved error handling in loginAsync