using-localStorage-to-save-form-type-user