only allow editing of certian fields of the post
added basic error reporting