I think i am through with user module now. Yaaay!
added php documentation
added access control function
Added the email config file

also improved the access control function
documented the access control function.