Added comments and a "not implemented" error response.
Fixed form bug.
Fixed input types.