Split db and api Token