fixed login checking.  renamed to isLoggedIn
ignore db dir
Merge branch 'master' into feature/exporter

Conflicts:
	lib/handler.js