hi all
i am new to drupal and currently working on to develop a registration module for an online university sort of thing..

achievements till now:
i have been able to put in the fields and all required to register online. providing the administrator with the flexibility to choose the fields that he wants.

problem statement:
i want to link the registration module with the user module so that when the user registers with a username and password he should be able to log in using the same username and password...

i am attatching the code which i have written till now...criticism is welcomed as i am very new to all of this...kindly put in your comments as well as suggestions
the code is pretty bad as of now as it is in a very initial stage....sorry....
i would also like to release this module to the community if at all i get it working

thanking you in anticipation

dhanesh

p.s the attatched file just contains the code and not the database schema....