added marked as completed functionality in lesson page