Updated Login.js and Index.js