added auth dialog, codemirror for queries, query history