Add code to allow cors and gem rack-cors