removed  @lesson = Lesson.find(params[:id])