add user_id to schema, index