Unless you setup a custom route
http://zxc.com/userId/34kjklnkj4k3jn will route to the user-idController.
You need to include the controller and action in your url,
http://zxc.com/auth/register/userId/34kjklnkj4k3jn or something similar. Then userId will be in the params array and getParam will find it.