Add usernameField option to logon to specify the field name (other than email)