added sanity test for checking the login state