removed unused login state