changed request.form to request.args