create session to store vendor_id