Registration now works in the most basic way... remember to remove the printed link and uncomment the mail() function call when it can be tested on a system running an SMTP server.