return email after register and login
fix merge