Add submit form and logic