Added a method of overriding the form submit

Need to test this. To test it however I need a proper server to be
listening. Will need to look into Flask now I think and including the
other submodule maybe. Or merging the 2 git repos