add login state check