Added edit posts form.
Added basic permission to check the post's owner.