#9 - changes due to deferred/promises in API and error incorrect login.