Sending data to backend