You are using FOSUserBundle 1.0 which does not have the username_email provider. Upgrade to FOSUserBundle 2.0 by changing composer.json to: "friendsofsymfony/user-bundle": "dev-master",
The 2.0 version has plenty of good stuff in it including a bunch of useful events. Unfortunately, it has never been officially released as a stable version. Hence the dev-master version.