title: Different default pages/controllers for every role type - MVC 5
body: <p>So my Q is as following (MVC 5):
  I got several types of default pages i'd like to start when my app is getting up.</p>
  
  <p>1- for anonymous user</p>
  
  <p>2...5 - for the other user roles which are automatically logged (cookie).</p>
  
  <p>So that's pretty much a simple "if", i know, but meanwhile i was using the <strong>User.IsInRole("RoleName")</strong> method which cannot be used in <strong>RouteConfig.cs</strong>.</p>
  
  <p>If it's a simple add of a <strong>Using</strong> statement, i apologize for the simplicity of the question in advance.</p>
  
  <p><strong>Update:</strong> I've managed to do it via some: </p>
  
  <p><strong>if(User.UserInRole("RoleName") return RedirectToAction("ActionName")</strong> in my default ActionResault.</p>
  
  <p>Although it's not an elegant solution, nor it defines numerous default pages, but it makes the job done.</p>