mentioned how to access sessions in templates