added post id to permitted params
added field for post id