tidied up the validation and saving of information on the user system variables