* only setup the app after the db is connected