reorganization of the project... now I have CORS problem