remove LoginDialog from DOM when logging out (fixes #43)
added link to get selected nodes as JSON (fixes #47)
Merge branch 'master' into gh-pages