add reference fields and user_id for regression