fix parsing of response
add rack common logger
some commented out stuff