user schema - token field to local