Fixed capitalization of login() and logout()

When refactoring from Vittorio's PascalCased code to "proper" camelCased JavaScript, the `ng-click` attributes of the log-in/log-out buttons in `index.html` where not changed accordingly.