addDetail controller