add freemarker support for shiro