Add input check for creating or updating customer