title: different views/routes by the type of user in express.js
body: <p>can we have an express app, with <strong>2 different views/routes</strong> based on <strong>user type?</strong></p>
  
  <p><strong>Example:</strong>
  I have 2 user types admin and normal user, based on the user alter login, how can i redirect each user to different views/routes </p>
  
  <p>like after login admin user goes to admin dashboard and normal user goes to profile page, also keeping in mind that one type of user cannot assess other type of user's routes.</p>
  
  <p>Any input will be helpful</p>
  
  <p>Thanks</p>