allow registering custom not found handler