Change userName to sAMAccountName
Add cn variable