updated login state