The if statement for debug is now in app.js
Introduced a setting to control how angular sends its json data
Added a logout button to the account page
Added a login link the the logout page