/**
 * GET /
 * Home page.
 */
exports.index = function(req, res) {

  var domain = req.headers.host,
      subDomain = domain.split('.');

  if(subDomain.length > 1){
    subDomain = subDomain[0].split("-").join(" ");
    if (req.user) {
      return res.redirect('/dashboard_employee');
    }
    else{
      res.redirect('/login_employee');
    }

  }
  else{
    if (req.user) {
      return res.redirect('/dashboard_admin');
    }
    else{
      res.render('home');
    }
  }




};
@@ -323,21 +323,11 @@
 t('/
-login_employe
+hom
 e');
@@ -471,8 +471,9 @@
 %7D%0A%0A%0A%0A%0A%7D;
+%0A

Update home.js