added a logger
render_to_response