added title field to posts