fix authentication issues

change resource to use _httpKoast instead of $http, persist token on
page refresh
Merge pull request #19 from e-schultz/tdchanges

fix authentication issues