Added ajax functionnality for enseignant dashboard