Refactoring, passing User instance to Ldap update