added loginstatus