testing for validate and refresh almost done

just stuck on two commented out problems