get teacher courses and classes json