title: how can I send token in header authentication Bearer to Browser
body: <p>that is my code in helper signin router 
  so I'm trying to set cookie to browser after confirm sign in </p>
  
  <pre><code>exports.signin = (req,res) =&gt; {
          db.User.findOne({email:req.body.email}).then(user =&gt; {
              user.comparePassword(req.body.password,function(err,isMatch){
                  if(isMatch){
                      let token = jwt.sign({userId: user.id},process.env.SECRET_KEY,{ expiresIn: 60*5 });
                      res.setHeader() //here I wanna send header Bearer to the browser 
                  } else {
                      res.status(400).json({message:"Incorrect Password!"});
                  }
              })
          })
          .catch(err =&gt; {
              return res.status(404).send('No user found.');  
          })**strong text**
      }
  </code></pre>