The evolution of the personnel function in Slovenia and Serbia