Working login, refactored a bunch of support infrastructure into appUtils given the new Kraken 1.x stuff