Fix issues with communication between frontend and backend for non cloud version
