fixed login checking.  renamed to isLoggedIn
ignore db dir