now getClientId and getActive is added to the db handler, storing cookies works fine.