Add session configuration

Signed-off-by: Jérémy jégou <jejeavo@gmail.com>