some angular goodness [WIP]

login/logout broken because login/logout are still 'static'.

Also still ned to move all the APIs behind '/api'