added post item helper to check if the post item was created by the user who is viewing it