How to register and find a case