refine session