Added createdAt field on db entry