The index of the dirac operator in loop space