refactor  the lessonplans controller and add lessonplans  integration te...

finish refactoring  the lessonplans controller and add lessonplans  integration tests.