Old documentation
The easiest way to register users is to use regfile module. This module route the calls only to the registered users.