Fix a bug that can delete posts of others.
Add validation to item and template.