Add Doctrine authentication