changed userName to email