session resolver