Changed index to passwords