text: const express = require('express');
  const router = express.Router();
  
  router.get('/', require('connect-ensure-login').ensureLoggedIn('/'), (req, res, next) => {
    res.render('databases', {
      user: req.user.user,
      projects: req.user.projects,
      participations: req.user.participations,
      activeProject: req.query.project,
      activeDB: req.query.id
    });
  });
  
  module.exports = router;