title: Rails devise app to create a REST api for mobile application
body: <p>I'm building a REST api using Rails 4 to be used in a mobile application. I'm using devise for Users. 
  Api operations will only be accesible by logged in users.</p>
  
  <p>I've been looking how to perform this. 
  1. The first solution I see is using token_authentication but it has been disabled by devise.
  2. If I try to log-in using normal controllers I get a "Can't verify CSRF token authenticity"</p>
  
  <p>How should I proceed?</p>