adding course completion api