Separated the login to a separate standalone page. Using cookies to transfer the authToken from login.html to index.html