Template snippets and admin check

Implements #34 and #35