User registration

User registration

I am a newbie and have the following question.

How do I setup the application such that the user can register themselves via a form without the admin manually adding them?  I'll also need to have it automatically generate the key and ticket for API because I am planning to have an iphone interface to the database via the API.