added edit posts form
added basic permission to check the post's owner.
only allow changing of certain fields of posts.
fixed spelling error