index check that session is registered