Made some modifications in server.py