added new test for interface method isLoggedIn