Username Login System

I’m trying to create a login system that allows vistors to create a username (with one username per e-mail address) that e-mails them their account information and if possible asks for verification or gives their e-mail address a randomly generated password that they can change later.

Each user will have other information to be stored that they cannot set by themselves.

I’m wondering… does anyone know how I can do this or know any good tutorials I can look at for this?

And Yes… I do have a PHP and MySQL server and probably a POP3 server as well…

Thanks in advace for your help.