This should fix issues with CORS (still testing)
Forgot to include a file. And we're also sending some headers now