added logout to dropbox example