Part 2 of handling session