Add authentication feature to model.