added session model to control app