Completed UserData class.
Tests will be in the next commit.