Clean up config generation, move stuff to core
Revert server-side userAgent... does not work for server-side Angular
Login/logout is tested in unit tests now
Move all endpoints to packages
Instantiate an nonymous user when logging out
Proper error handling
Better error handling
Removed junk