add task and assignment model validations