added option to create ldap users and refactored user variable names