We should be able to use session attributes in templates, like $cn, $uid, etc, to ease customization.