Fixed the getLoginStatus method. Documentation updated.