now using rails-api with devise