added cors headers to slim
added cors headers to slim