title: Django allauth and rest framework for account signup and login
body: <p>I need to make custom views for signup and login implementation on django rest framework for doing rest call.
  I have seen the sign-up view and login view provided by allauth which use loginForm and signupForm. But i do not know how to work them out with restframework for api calls. 
  Also i need csrf token security.
  Can anyone help me out with this? </p>