adds login-controller.js to index.html