added isAlreadyLogin mechanism