first attempt of implementing authentication addons (thx jplitza)