fix issue with no user in ldap directory. Also change default items in user object