Added localStorage for form values