complete session layout and functioanality