fix typos; add stub for server-side handler of post form