Added username munging and Minecraft account checking.