add cross-origin gem and add require to the app's file