removed setting model, use user_model instead