add created_at field in chat