templates
session and flash