Input validation for client, invoices, and reg controllers