added more logging, handle post as well as get in simple web