now userdata can be seen in the main window