const Client = baseUrl => {
  const client = new Kinto({
    remote: `${baseUrl}/v1`,
    bucket: 'weihnachtsmarkt',
  })

  const booths = client.collection('booths')
  const pois = client.collection('pois')
  return { booths, pois }
}
 configure(connection) {
   try {
     const kinto = new Kinto({
       remote: connection.server,
       dbPrefix: connection.user,
       headers: connection.headers
     });
     this.collection = kinto.collection(this.dataset);
   }
   catch (e) {
     this.onError(e);
   }
 }