title: How to use MongoDB.AspNet.Identity with WebApi2
body: <p>I am building a WebApi2 project and wanted to use mongodb as a backend and I found <a href="https://github.com/InspectorIT/MongoDB.AspNet.Identity" rel="nofollow noreferrer">MongoDB.AspNet.Identity package</a>, I used it before in MVC5 website and it worked well, but after installing in the WebApi project I got an error: 
  <img src="https://i.stack.imgur.com/6newK.png" alt="enter image description here"></p>
  
  <p><em>Error  1   The type or namespace name 'IdentityUserLogin' could not be found (are you missing a using directive or an assembly reference?) \Controllers\AccountController.cs</em></p>
  
  <p>How to fix that? or it is impossible to use <a href="https://github.com/InspectorIT/MongoDB.AspNet.Identity" rel="nofollow noreferrer">MongoDB.AspNet.Identity package</a> with WebApi2 projects?</p>