added ApiControllerBase that I forgot to include in previous commit
Merge pull request #35 from denisstepanenko/Authentication

added ApiControllerBase that I forgot to include in previous commit
Merge branch 'master' into owen1
1) Changed the main template to show/hide login/profile links
2) reverted some of the changes in the ctrl.chat.js after the server-side auth was added
3) added unit tests to ctrl.login.js