Auto detect User Name and Email address