added a composition root to AuthEndpoint for PureDI. Now injecting the AuthRepo