Added bugfix for missing retrieval of isLoggedIn col from result set