Andrewedits

Here are all of my login changes and tests. You can run the tests by cd-ing into tests and running: 
karma start manual_karma.conf.js

There are a bunch of API changes here, so we'll need to document this before ng-conf.