Add parameter to pass on a url
Make state clickable and show the log.
Log for insert