title: How can we separate route of admin and user?
body: <p>I am creating routes in <code>node js</code> . I am creating routes for dashboard.</p>
  
  <ol>
  <li>User login and get the <code>JWT token</code>.</li>
  <li>By sending Token,User can access some route related to user(edit,delete,logout route etc).</li>
  <li>But For admin, I want to create the routes which can see the list of users,edit or remove users,check  the logout time of users.I have also set the flag in table to identify the person is user or Admin.</li>
  </ol>
  
  <p>How will be authenticate routes for Admins on backend side?</p>