Add userID for the mainwindow.
Add userId to mainwindow.