assign_resources to model, updated create method