Updated code to use UUIDs, in compliance with Mojang recommendations.
This is because usernames are no longer assumed unique out-of-session