update to resource.rb so that an assignment/key is added to lesson when added as a resource
update add_resource_to_lesson