changed index to password