Set up and log_and_response