add error handling for ec_user actions