check if the impoertant details are null when we try to save a new client