better handling of failed logins, it'd be nice if the api told us why the login failed, but for now checking that data.response is undefined will have to do for registering a failed login