Use form stuff; fix bug in BaseHandler