hooking up submitting form for stats