added nicer error handling for when login isn't correct.