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