added Controller to index.html