use flask-cache to cache thumbmail
add query edit page
split frontend into main and admin
add pnotify
done query admin pages; add global error guard; add db error wrap
done admin auth guard
add user list
done users edit; make query kind editable; some frontend refactoring
add dashboard
Merge branch 'admin' into dev