update functions add user ldap
update newhosting with the new functions
Update function createdir to set correct  permissions