fix #62 - ensure captcha validation for registration
refactor sanitization module
fix #59 - Prevent users from requesting templates they don't own