Added the form handler