fix userdata creating and add firstactivity to userdata