not working on getLoginStatus