Added a new form and set up SQL tables