connection to DB at startup