config changes

made it more api friendly by making a function call for all configs.
this will be useful soon. Updated class.users.php to accept the new
config changes.