got the form to actually submit and redirect after submit