The problem is y_ini is not saving data. It creates the username.ini, but doesn't do anything in it. On localhost it works fine, but on the VPS it's totally fucked.
Mostly people use linux which is case sensitive check the folder in the script if the userpath is "Users" name it "Users" and not "users".