auto upgrade the userdata at login and during APU