Fixed dependency injections in the admin app.