Implement auth checks for Lesson API
Add unit tests for Lesson API