Added redirect after form is submitted.