Use new method to handle form submission