The form works with ajax
Including devise for authentication.
I had already a user class, so i had to run devise carefully. The helpers
generated doesnt work well. I will have to modify them one by one when needed.