Added login script to index.html