Add CORS headers and fix application standarts to login and order API