removed csv functions, redis is all we need.
simplified further; removed POST error handling, since it will appear in
the browser