fix hasSessionStore() to hasSession()