make fetchRoles injectable