adding single session templates for permalinks