Updating the Go code so it's compatible with the web app