communication back and forth between python server and web app working