added characterization for loadUserData. started refactoring some of the functionality.