Move angular component registration out of app file

Moved the angular controller and service registration into each individual file.  This makes app.ts much simpler and it doesn't need to know about all the different parts of the application.
Fixed user login.

Fixed the authentication mechanism so you can actually log in again.
Change logger to require a string, if you need to do formatting use util.format.