add ajax invite course and show course list