App session in layout