why is there the DoctrineExtension here ? You should extend from the base class in HttpKernel