added return email to get userid