remove LoginDialog from DOM when logging out (fixes #43)
added link to get selected nodes as JSON (fixes #47)