I’m interested in the full code as well. It seemed to me that there was something missing. So I added the following to create a Request Object instance, and populate the $url_elements array:

$ro = new Request;
$url_elements = $ro->url_elements;

But still, something is wrong for me. Admittedly, I’m operating on very little sleep, and it might be obvious, but I don’t think my version can see the “UsersController” class.