fixed error when sending post request
remove dubugging statements, remove threading
renamed mangement commands