add resources to lesson show and class in session view