set username and sid on first login