Small fixes in the server-communication, POST/PUT not working