Added assign method to lesson plan API