proper setting to work with rails devise token authentication example app