Session controller