session works