is a minor thing, but the string `'case_id'` seems more likely to appear in a url than many others so you may want to consider using something more obscure