Session contrller