A Rails 4 project with API calls using Sorcery for authentication