Playing with rails-api, mongo and devise