Setting up edit form
Added messaging functionality
Protect edit/post views
Using decorator to protect views
Oops -- fixed decorator code