fixed typo in getIndexByEmail prompt