handle login errors
Merge pull request #34 from nathanjhastings/issue33

Issue 33 - Handle login errors