title: Manual login user with devise
body: <p>Can anyone give an example or link to tutorial how can be implemented manual signin for users and get session_id.</p>
  
  <p>I am porting an application from Rails 2 to Rails 3, that used before RestAuthentication. The new app uses devise, and I already managed to fix the sign-in/sign-out for admins. The application has one more model (users) that need to be authenticated.</p>
  
  <p>I need to get session_id in order to pass it in the response, because the client is not browser, but mobile device.</p>
  
  <p>Any links, ideas and examples are welcome. Thanks in advance!</p>