[Dev] Refactored code.
[Dev] Added last updated time to user data.
[Dev] Fixed bug where last updated time was not being updated properly.