server-side fields validation when editing user data