Fix register duplicate email issue