Fixes CORS and front bugs