wait for login to complete before going on
var fix