add snippets for security csrf
add cookie helper functions snippets
fix double parentheses