Add UserData class and fixed the assets bug