cleanups, don't set up DB until we get a login