images & sessions class