Refactored userdata.php adding get and set functions for all class-scope vars. Alphabetized functions and classes.