added ability to reset scope by closing session and making a new one if scopes/permissions are different