Adding initial script to retrieve session info as illustrated on the Dropbox tutorials