add sessions controll and layouts