A lightweight API with rails 4 and Devise